package com.ruoyi.cat.domain.DTO;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class LatestTaskDTO {

    @ApiModelProperty("id")
    private Long  id;

    @ApiModelProperty("标题")
    private String  title;

    @ApiModelProperty("微信封面图")
    private String  wXImg;

    @ApiModelProperty("缩略图")
    private String thumbnail;

    @ApiModelProperty("结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    @ApiModelProperty("1 文章 2 活动")
    private String type;

    @ApiModelProperty("文章状态 1：上架；2：下架")
    private String activityState;

    @ApiModelProperty("支付状态 0待支付 1 支付成功")
    private String status;

}
